package com.ws.entity;

/**
 * @author 王硕
 * @version jdk21
 * @className Fish
 * @description
 * @date 2024/11/7 21:53
 */
public class Fish extends Animal1{
    public Fish(String name, String color) {
        super(name, color);
    }

    // 吹泡泡行为
    public void blowBubbles() {
        System.out.println(name + "正在吹泡泡");
    }
}
